package cn.lili.modules.grab.enums;

import lombok.Getter;

public enum StatusEnums {

    STATUS_200("200", "'操作成功"),
    STATUS_400("400", "'操作失败"),
    STATUS_401("401", "'非法token"),
    STATUS_402("402", "'数据校验错误"),
    STATUS_403("403", "'数据解析错误，请重新试试"),
    STATUS_404("404", "非法app_key"),
    STATUS_405("405", "非法app_secret"),
    STATUS_406("406", "非法请求源"),
    STATUS_407("407", "非法请求IP"),
    STATUS_408("408", "秘钥缺失"),
    STATUS_409("409", "获取来源参数错误"),
    STATUS_420("420", "上传失败"),
    STATUS_600("600", "规则校验未通过"),
    STATUS_601("601", "必传参数不得为空"),
    STATUS_602("602", "参数格式错误"),
    STATUS_603("603", "签名错误"),
    STATUS_606("606", "稍等一下，不要点击太快哦～"),
    STATUS_607("607", "请求超时"),
    STATUS_4340("4340", "商品金额设置异常,暂时不能下单");

    @Getter
    private String code;

    @Getter
    private String des;

    StatusEnums(String code, String des) {
        this.code = code;
        this.des = des;
    }
}
